package util;

import core.global.Global;
import model.app.AppLog;

import service.app.impl.LogServiceImpl;

public class Log {
	public static void save(String dotype, String dowhat,String remark){
		LogServiceImpl.save(new AppLog(Global.userid(), Time.CurrentTimestamp(),dotype,dowhat,remark));
	}
	
	public static void saveTest(String dotype, String dowhat){
		LogServiceImpl.save(new AppLog(8, Global.userid(), dotype,dowhat));
	}
}
